package com.djs;

import com.djs.redis.impl.JedisOperator;
import redis.clients.jedis.JedisPool;

/**
 * @Description Jedis调度者类 单例模式
 * @auther dengjingsi
 * @create 2020-03-15 19:32
 */
public class Director {
    /**
     * Jedis调度者
     */
    private final static Director DIRECTOR = new Director();
    /**
     * 线程池
     */
    private JedisPool jedisPool;

    private Director(){}

    public static Director getInstance(){
        return DIRECTOR;
    }
    public void initRedisPoolConfig(){

    }
    public void initJedisPoolConfig(String host, int post, String password){

    }

//    public JedisOperator getJedisOperator(){
//
//    }
}
